* lisp/hexl.el (hexl-mode-old-*): Remove.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jan 2011 19:55:35 +0000 (14:55 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jan 2011 19:55:35 +0000 (14:55 -0500)
commit1b5218bff46e7d3de6ff5fea0af6439104aeae07
treede3f0fd5bf3221bc65399e90b455333f7a665162
parentc2d0e4eec95bc855b6b30a2007be5281bfc88033
* lisp/hexl.el (hexl-mode-old-*): Remove.
(hexl-mode--old-var-vals): New var to replace them.
(hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
(hexl-mode, hexl-follow-line, hexl-activate-ruler):
Use them to set local vars.
(hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
(hexl-backward-short, hexl-backward-word, hexl-scroll-down)
(hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
lisp/ChangeLog
lisp/hexl.el